arm: optimize relocate_code routine
authorAlbert ARIBAUD <[email protected]>
Tue, 11 Jun 2013 12:17:35 +0000 (14:17 +0200)
committerAlbert ARIBAUD <[email protected]>
Fri, 21 Jun 2013 21:05:50 +0000 (23:05 +0200)
commitfbf87b1823dd5ebc2a384711ea2c677543019ece
treeba97b36e99a723462915445094dba9eb55b2e137
parent47bd65ef057fb71b02b32741d5cfcaf03e2f0918
arm: optimize relocate_code routine

Use section symbols directly
Drop support for R_ARM_ABS32 record types
Eliminate unneeded intermediate registers
Optimize relocation table iteration

Signed-off-by: Albert ARIBAUD <[email protected]>
Tested-by: Lubomir Popov <[email protected]>
Tested-by: Jeroen Hofstee <[email protected]>
Reviewed-by: Benoît Thébaudeau <[email protected]>
arch/arm/lib/relocate.S